var update_retail_tax_cent = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"T1", "MSG":"","DATA":"","SCRIPTNAME":"update_retail_tax_cent"}');

var retail_tax_cent_res = func_retail_tax_cent(retail_tax, tax_rate, iva_tax);
if (!isNull(retail_tax_cent_res)) {
    var updateData = [];
    var updateDataRequestSku = {
        tableName: 'price_change_request_sku',
        data: []
    };
    var skuItem = {
        id: id,
        retail_tax: retail_tax_cent_res
    }
    updateDataRequestSku.data.push(skuItem);
    updateData.push(updateDataRequestSku);
    update_retail_tax_cent.CODE = 4;
    update_retail_tax_cent.ACTION = 'update';
    update_retail_tax_cent.MSG = '调整分钱为：' + retail_tax_cent_res;
    update_retail_tax_cent.DATA = JSON.stringify(updateData);
}
JSON.stringify(update_retail_tax_cent);